sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.util
/
[main]TimeUtils
Time
Utils
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
class
TimeUtils
(
source
)
Helper for accessing features in
android.util.TimeUtils
.
Members
Properties
HUNDRED_
DAY_
FIELD_
LEN
Link copied to clipboard
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
val
HUNDRED_DAY_FIELD_LEN
:
Int
=
19
Functions
format
Duration
Link copied to clipboard
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
open
fun
formatDuration
(
duration
:
Long
,
pw
:
PrintWriter
)
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
open
fun
formatDuration
(
duration
:
Long
,
builder
:
StringBuilder
)
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
open
fun
formatDuration
(
duration
:
Long
,
pw
:
PrintWriter
,
fieldLen
:
Int
)
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
open
fun
formatDuration
(
time
:
Long
,
now
:
Long
,
pw
:
PrintWriter
)